#ifndef __TEST_COMMON_H__
#define __TEST_COMMON_H__

/**
 * @brief this header will be port in FreeRTOS.h
 */
 
#include <stdio.h>
#include <string.h>
#include <stdlib.h>

/* log macro */
#define _M_LOG(label, format, ...) printf("%s" format "\r\n", #label, ##__VA_ARGS__)

#define MLOGD(...) _M_LOG([DBG], __VA_ARGS__)
#define MLOGI(...) _M_LOG([INFO], __VA_ARGS__)
#define MLOGE(...) _M_LOG([ERR], __VA_ARGS__)

/* all test demo CONFIG */
#define configTEST_critical 0 // 1

/* all test demo HEADER */
#if (configTEST_critical == 1)
#include "test_critical.h"
#endif

#include "test_bare_mpu.h"

#endif /* __TEST_COMMON_H__ */
